package com.chen.blue.domain.dto.system.update;

import com.chen.blue.domain.dto.system.RoleDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created By CLT On 2024/4/27.
 */
@SuppressWarnings("all")
@Getter
@Setter
@ToString(callSuper = true)
@ApiModel("角色修改参数")
public class RoleDtoEdit extends RoleDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "修改ID不能为空")
    @ApiModelProperty(value = "修改ID", required = true)
    private Long id;

}
